StateMachine class added. Functionality for the state machine has been taken out of the Student class and relocated to the StateMachine class. The student class now only delegates to the StateMachine class.