add new method

added method to calculate distance travelled based upon duration of the trip.