Exercises from Learn to Program book