Added unit tests for model, view and controller.
Fixed bug that occured when the beginning state of the rotors for the middle and right rotor started on the step notch.
Moved some utility functions and made them private to the files they are used.