Implemented index checking for control control structure and modified imem.txt to test bounds on all instructions.