created start quiz function