changed the temporary change of visibility of registers in Registers
class back to private, realising that I could use getRegisters()
instead. So, replaced all registers with getRegisters() in MachineTest.