added player class and test all passing in rspec