fixed add problem but now test 6 takes too much memory. probable culprit: some edges have no weight, resulting in mismatch of indices when trying to find real valued weights
fixed addition problem. all tests pass. previous version worked a bit faster though
merging main fix to master branch