adding trip_duration method
Merge remote-tracking branch 'origin/master' into caclulate-trip-time

Conflicts:
	train.rb
Fixing bug.
Merge pull request #1 from 134735/calculate-trip-time

added a method calculate trip time