Exercises from "Learn to Program" book chapters 11 - 14