Made fix for isDiagonallyAdjacent so it returns false for nodes that are not adjacent