public static Field findFreeNeighbour(Field currentField, Box box, Agent agent) {
		
		Random rand = new Random();
		
		ArrayList<Integer> possibleIndexes = new ArrayList<Integer>();
		
		for (int i = 0; i < 3; i++) {
			possibleIndexes.add(i);
		}
		
		while(!possibleIndexes.isEmpty()){
		
			int index = possibleIndexes.get(rand.nextInt(possibleIndexes.size()));
			
			Integer remove = null;
			for (Integer integer : possibleIndexes) {
				if(index == integer) remove = integer;
			}
			possibleIndexes.remove(remove);
			
			Field field = currentField.neighbors[index];
			if(field != null && (field.object == null || field.object == box || field.object == agent)) return field;
		}
		
		return null;
	}