Added id to nodes
Search Algorithms now get passed the entire graph as the first argument