Newyork City Plumber

Rotate the pipes to make a path.