removed graph_as_list from ds.rb