Updated index.html and script.js

Changed the title for index.html to reflect the assignment
Added an explaination of the program to script.js