public void modify() throws IOException{ /*Allows user to modify Questions on a given Test. Questions are modified in the Question classes themselves.
	This overloaded method of Test also includes modifying of Question answers.*/
		boolean repeat = true;
		String s;
		int val = 0;
		while(repeat){
			display();
			Out.getDisp().renderLine("Enter the number of the question to modify.");		
			val = Input.inputNum(1,questions.size()); //Input a number within an acceptable range
			
			Out.getDisp().renderLine("Question " + val + " selected.");
			questions.get(val-1).modify();
			
			Out.getDisp().renderLine("Modify the answer? (Y/N)");
//			answers.get(val-1).render();
			s = Input.inputString();
			if (s.equals("Y")||s.equals("y")){
				answers.set(val-1, questions.get(val-1).modifyAns()); //Modify answer, save in the same location.
			}else Out.getDisp().renderLine("Answer left unchanged.");		
			
			Out.getDisp().renderLine("Edit another question? (Y/N)");
			s = Input.inputString();
			if (s.equals("N")||s.equals("n")) repeat = false;	

		}//while(repeat)
	}