lab5.s - implementing check_jump