I wanna use the adjacency list to convert the normal graph to a star graph.My idea is to use HashMap< Interger