Added names class for adding all the players to an array