Tennis Refactoring Kata - Java