Switched back to working on a list of nodes, sorted by depth. Had a go at the insertion & removal of "blanks" aspects of finding a neighbour. Not yet done the node swapping.