Refactoring of the first version of the Tennis Kata in Ruby