Create simple_state_machine.c