Lab 10: Added code to calculate total price