Exercises from "Learn to Program" by Chris Pine