Solution to Uncle Bob's Bowling Kata