Graph is undirected now
Implement printGraph to print the graph with the neighbors on the console