Implementation of the Bowling Game kata in Java