Preprocessing, created list of all nodes for graph, created adjacency list for sampled points for graph plotting in python