Changed UpdateNeighbors to use a single line string as well as using StringBuilder to build it