swapConstructs function

Swap the position of two constructs in a grid.