Working
Removed edge_list function