R type tests

Added tests for various r_type commands. Also fixed assembler to work with 'jr' and 'cmp'