Added depth-first search for graph

Also updated solution for VS2012