Change getMachine() method inside MachineShopSimulator so it returns a
machine instead of the array.