private Reaction getSimmilarReaction(List<Reaction> reactionList, Reaction selectedReaction) {
		Random randomGenerator = new Random();
		Reaction reaction = null;
		int i = 0;
		do {
			i++;
			reaction = reactionList.get(randomGenerator.nextInt(reactionList.size()));
		} while (!reaction.getPattern().isSimmilar(selectedReaction.getPattern()) && i < MAX_NUMBER_OF_TRIES);
		if (i < MAX_NUMBER_OF_TRIES) {
			return reaction;
		} else {
			for (Reaction r : reactionList) {
				if (r.getPattern().isSimmilar(selectedReaction.getPattern())) {
					return r;
				}
			}
			return null;
		}
	}