Machine's changeState is implemented now. Not merging into main yet as
we still are toying with ways to move moveToNextMachine into
Machine.java