Cleaned up Machine simulation showing use of State
Small change to State to help with running test in IDE