Graph now can take a matrix of int[][] to generate the graph as an adjacency list.  Fixed the print statements and counter placement in DFS and BFS functions.