Initial logic for whether pieces mate or have matching non-exits is now in place. This is effectively 90% of PipeDream...