Added register array
Implemented addi and subj