private static String[] chooseHorses(Scanner userinput, String[][] playerInfo, String[] allHorses) {
		int numberOfHorses = (int) (Math.random() * 8) + 4;
		String[] raceHorses = new String[numberOfHorses];
		for (int i = 0; i < numberOfHorses; i++) {
			int j = (int) (Math.random() * allHorses.length) + 1;

			if (alreadyInRace(raceHorses, allHorses[j]))
				i--;
			else
				raceHorses[i] = allHorses[j];
		}

		return raceHorses;

	}