public boolean isCorner(){
		int countUnblocked=0;
		for(int i = 0; i < corridor.length; i++) {
			if(corridor[i].getWeight()==1){
				countUnblocked++;
			}
		}
		if(countUnblocked == 2) {
			if(corridor[0].getWeight() == 1 && corridor[2].getWeight() == 1){
				return false;
			}
			else if(corridor[1].getWeight() == 1 && corridor[3].getWeight() == 1){
				return false;
			}
			return true;
		}
		return false;
	}