public static void constructInitialPath(){
		if(initialPath.apath.size() > 1){
			curRegion = initialPath.apath.get(0);
			nextRegion = initialPath.apath.get(1);
		}
		else{
			curRegion = initialPath.apath.get(0);
			nextRegion = initialPath.apath.get(0);
		}
		finalPath.add(new PathPart(Point.NULL, Point.grid[0][0]));
		Point.grid[0][0].isObstacle = true;
		while(true){
			Point lastPoint = finalPath.getLast().last;
			lastPoint.getNeighbors();
			if(lastPoint.numFree == 0) break;
			addToPath();
			finalPath.getLast().last.isObstacle = true;
			finalPath.getLast().last.inPath = true;
		}
		finalPath.getLast().last.getNeighbors();
	}