Implemented the rest of the instructions in arit_cmp