added refactoring version of tennis kata