How to Calculate the Consumer Price Index (CPI) and Inflation Rate