unique path with obstacles