correctly references all nodes with anti-parallel edges and outputs their edges and edge weights