fixed a couple of demand generation bugs; refactored graph making function into class
Added v_num to VertexData struct:
  -> enables new methods like glp_strong_comp, glp_weak_comp, and glp_top_sort
Added write_graph method to Graph
...