Added check for R-type opcodes and added JUnit test cases for N2Opcodes
class.