Export generic 'Search' function

* Provide algorithm type as parameter
* Test both Undirected and Directed Graphs