Create StateMachine.java

My statemachine class