updated functionality to include alerts and finished quiz
two bugs, both just missing semicolons