exercises from www.learpythonthehardway.com