Update InstructionType.java

Added a few methods for convenience