New State machine tutorial

Bit of a leap of faith to think that someone new to FSMs will know what an enum is.