A scala solution to the coding dojo kata bowling problem described at http://codingdojo.org/cgi-bin/wiki.pl?KataBowling.