BowlingGame refactorization: convenience functions for compute frame scores.