Adding Tree method for BFS class

Method:
Tree<T>(Graph<T> graph, T vertex) -> Graph<T> where this graph is tree representing all reachable vertices from vertex in BFS algorithm