Finalized

Everything works in index.html, added extra line in to show total.