Made the state class non-abstract. Implemented an equals method to the
state class. Also implemented the addition of transitions to a state via
the actor class. Implemented simplistic priorities to transitions. Added
explanatory comments.