program keeps score of total games won, lost, and tied