Created function for car travel costs.

Created function for car travel costs.