Calculating the Cost of Cigarettes Over Time