Exercises from the learn to program book