Moves gates and latches into different packages for easier overview. Creates a class modelling T flip-flops.