Java Implementation of MIPS assembler