wrote an impl of a close quiz () under main menu.