Update Instruction.java

Added the hasMoved boolean variable.