fix scoring glitch in main.rb, add name attribute in tennis.rb