Creates a class modelling D flip-flops.