Added code to calculate total price of list items and print that value under the total text.