Implemented the for..next loop