Added a while condition with option to type q to quit. To be able to take more than one quiz