Finished implementing and, addi, sgt