updated script.js

changed the input prompts to better reflect what they were asking for.
Added a function to generate the grade letter based off of the grade
percentage