Renamed method list_edges to edges
Renamed method list_edges to edges, deleted trailing whitespaces