Created the Avtime class to calculate the average best time.