A simple State Machine for use in games and what not.