Asking for answers inside a while loop. If the user types q or Q the program exits.