Created a gate-based implementation of dff12