filling graph with points and its neighbours using vector of pointers to Node structure