Finish exercise 23 http://learnpythonthehardway.org/book/ex23.html