Created a Master-Slave Flip Flop and it does not work when created into a chip. Maybe because it need multiple tick to finish a clock cycle.