public Space Move(){
	Space[] options = returnUnvisitedNeighbors();
	if ( options.length == 0){
	    return null;
	}
	int size = 0;
	for (int i = 0; i < options.length; i++){
	    if ( options[i].numVisitedNeighbors()<=1)
		size++;
	}
	if (size == 0)
	    return null;
	int j = 0;
	Space [] goodOptions = new Space[size];
	for (int i = 0; i < options.length; i++){
	    if (options[i].numVisitedNeighbors()<=1 ){
		goodOptions[j] = options[i];
		j++;
	    }
	}
	int rand =(int)( Math.random()*size);
	return goodOptions[rand];
	    
    }