DFS traversal for undirected simple graphs added

exception class for absence of a specific node in the graph added,
used during traversal for checking presence of source node.