Extracted some code into a method on SDBlock named getNeighboringBlocks