The csv file contains a list of the adjacency of the graph in the form where the number of the vertex is in the first place, and all that goes after that in the line are the vertices that are associated with it
How to read data from a file into a dictionary, so that the key would be the number of the vertex, and the values would be the vertices that are associated with it?