working through:

http://learnpythonthehardway.org/book/ex4.html