made a function called net_coordinates that creates a list with the coordinates of the gates that need to be connected to one another and made changes in gate_lists and net_lists functions.