A level Computer Science: The d-type flip flop