added functions for printing player score, updated function for printing time, added function for calculating player score