added searchtest.cpp, please check the directed graph for discrepencies