Added another variable to get how much the cost of gas is per gallon.