Create BuildEdges.m

BuildEdges() builds a sparse map of edges, using just nearest neighbors.