Code Kata Perform in Java