Iteration exercises 1 to 5