public static void getOption(Scanner keyboard)
	{
		String option;
		char c;
		
		System.out.println("Please select an option from the menu.");
		System.out.println("a : Generate a quiz from an existing quiz.");
		System.out.println("b : Generate a quiz from an xml file.");
		System.out.println("c : Debug an XML file.");
		System.out.println("exit : exit the program");
		System.out.print(">> ");
		
		option = keyboard.nextLine().toLowerCase().trim();
		
		if(option.equals("exit"))
		{
			System.out.println("Good bye.");
			System.exit(0);
		}
		
		c = option.charAt(0);
		
		switch(c)
		{
		case 'a':
		{
			generateProblemFromQuiz(keyboard);
			break;
		}
		case 'b':
		{
			generateProblemFromFile(keyboard);
			break;
		}
		case 'c':
		{
			debugProblem(keyboard);
			break;
		}
		default:
		{
			System.out.println("That was not a valid option.");
			getOption(keyboard);
		}
		}
	}