private Board checkCustomBoard(Scanner input) {
		String ownSize, customSize;
		int size = 0;

		System.out
				.println("Would you like to play with a custom board? (YES/NO)");
		ownSize = input.nextLine().toUpperCase();
		while (!(ownSize.equals("YES") || ownSize.equals("NO"))) {
			System.out.println("Please enter YES or NO.");
			ownSize = input.nextLine().toUpperCase();
		}
		if (ownSize.equals("YES")) {
			System.out.println("Enter the size of the board.");
			do {
				System.out.println("Please enter an integer greater than 2.");
				customSize = input.nextLine();
				try {
					size = Integer.parseInt(customSize);
				} catch (NumberFormatException e) {
					System.out.println(customSize + " is not a valid integer.");
				}
			} while (size <= 2);

			return new Board(size);
		}

		return new Board();
	}