protected int getIntFromUser() {
		int userInt = 0;
		boolean successful = true;
		
		do {
			try {
				userInt = Integer.parseInt(scanner.nextLine());
				successful = true;
			} catch (Exception e) {
				successful = false;
				System.out.println("That was an invalid input for an integer. ");
			}
		} while (!successful);
		
		return userInt;
	}