Exercises from the book Learn to Program