Python answer to this: http://codingdojo.org/cgi-bin/wiki.pl?KataBowling