public static boolean alreadyInRace(String[] horsesInRace, String horse) {

		for (int i = 0; i < horsesInRace.length; i++) {
			if (horse.equalsIgnoreCase(horsesInRace[i])) {
				return true;
			}
		}

		return false;
	}