Finalised implementation of quiz-taker.