transitions transitions define how to move from one state to another. Its composed of a hashref with the input function and the name of the state to transition to once that function has been called