done
graph traversion added and exception handling in other classes added