public boolean parseAnswer(char value)
	{
		boolean flag = true;
		boolean res = false;

		while(flag){
			if(value == 'Y' || value == 'y'){
				res = true;
				flag = false;
			}else if(value == 'N' || value == 'n') {
				res = false;
				flag = false;
			}else {
				//String ans = " ";
				System.out.println("Invalid input. Please Enter (Y/N). ");
				while(!input.hasNext("Y") && !input.hasNext("y") && !input.hasNext("N") && !input.hasNext("n")) {
					System.out.println("Invalid input. Enter (Y/N)");
					input.next();
				}
				value = input.next().charAt(0);
			}
		}
		return res;
	}