Finding the total cost of multiple items