finished the opcode problem