sequential circuit with d flip flop