Add trip_distance method to Train class

Added new method for calculating trip distance based on duration