Updated HW#9:Loops