fixed the instruction map key type and JUnit code.
updated GUI