Control Flow Exercises 2-10