I added a new function to make bidirectional edges in one function call.
n5.add_bi_edge(n1, 1, 1)