Exercise #5: How to implement loop in RISC-V assembly