Algorithms For Constructing Exact Nearest Neighbor Graphs