Build graph from neighbor array
Build graph from neighbor array test