Python State Machine for humans