added get_edge method
added remove_edge method