bowling exercise: rewrite TDD & code