Some practice exercises from the "Learn to Program" book by Chris Pine