public MazeCell anyIntactNeighbor(MazeCell[] Array){ //Will try to find and choose randomly an intact neighbour with his walls up
														 //Used when creating a labyrinth
		MazeCell randcell = null;
		int count = 0;

		if(Array.length == 0)
			System.out.println("No neighbours");
		for(int i = 0; i < Array.length; i++){
			if(Array[i].get_visited() == false)	{
				//if(Array[i] == n) System.out.println("North is here!");
				//if(Array[i] == s) System.out.println("South is here!");
				//if(Array[i] == w) System.out.println("West is here!");
				//if(Array[i] == e) System.out.println("East is here!");
				count++;
				//System.out.println("WHAT IS LOVE\n");
			}
		}
		if(count == 0){
			System.out.println("No intact neighbouring cell to explore :(");
			return null;
		}
		else{
			do{
				randcell = Array[generator.nextInt(Array.length)];
			}while(randcell.get_visited() == true);

			if(randcell == null) System.out.println("BINGO");
			if(randcell == n){
				System.out.println("I have chosen the north neighbor!");
				System.out.println("I am knocking down my northern wall and his southern wall!");
				setWalls(false,east(),west(),south());
				randcell.setWalls(randcell.north(),randcell.east(),randcell.west(),false);
			}
			else if(randcell == s){
				System.out.println("I have chosen my south neighbor!");
				System.out.println("I am knocking down my southern wall and his northern wall!");
				setWalls(north(),east(),west(),false);
				randcell.setWalls(false,randcell.east(),randcell.west(),randcell.south());
			}
			else if(randcell == w){
				System.out.println("I have chosen my west neighbor!");
				System.out.println("I am knocking down my western wall and his eastern wall!");
				setWalls(north(),east(),false,south());
				randcell.setWalls(randcell.north(),false,randcell.west(),randcell.south());
			}
			else{
				System.out.println("I have chosen my east neighbor!");
				System.out.println("I am knocking down my eastern wall and his western wall!");
				setWalls(north(),false,west(),south());
				randcell.setWalls(randcell.north(),randcell.east(),false,randcell.south());
			}

			return randcell;
		}
	
	}