public static void qRight(Point p, Point right){
		if(right == Point.NULL || right.isObstacle || right.id != 0) return;
		else if(!right.upFree && !right.downFree){
			unprocessed.add(right);
			origins.add(p);
		}
		else if((!p.upFree && !right.downFree) || (!p.downFree && !right.upFree)){
			unprocessed.add(right);
			origins.add(p);
		}
		else{
			queue.add(right);
		}
	}