Created PlayerStats class to calculate stats