State Machine
--------------------
A machine is a device which accepts some inputs, possibly produces some output,
and has some memory sorting information on the overall results of all previous
inputs.
The condition of the machine at a particular instance is called a state of the
machine. New input changes...









