completed main in NBAPlayer.java