Unique path with obstacles.