Looping with the for command