initilize graph
graph_search; bug fix