public static void CheckUnitName(String message) {
		boolean wrongInput = true;
		System.out.print(message);
		String answer = scanner.nextLine();
		for (Unit u: MonopolyBoardGame.units) {
			if (answer.equals(u.getName())) {
				wrongInput = false;
			}
		}
		while (wrongInput) {
			System.out.println("Wrong input. Please provide an existing unit name.");
			System.out.print(message);
			answer = scanner.nextLine();
			for (Unit u: MonopolyBoardGame.units) {
				if (answer.equals(u.getName())) {
					wrongInput = false;
				}
			}
		}
	}