Pathfinding: Floodfill 0,1,2,0,1,2 encoded