completed tests for quiz.

Tests for quiz are done.  Moving onto testing the flow for the main
app.  Created functions.js to hold any extraneous functions I may need.