fixed Stack Overflow problem (removed recursion in quiz method), added prompt if user input is nil