Add trip_distance method

Calculate the distance traveled according to the time entered by user