Improved placement of Source and Sink on pipe grid. Source and Sink cannot face walls if adjacent to them. Source and Sink cannot face each other if adjacent. Source and Sink cannot be placed on top of each other.