Fast-succeeding selection of a weighted dummy
Ensure that all data types are tested
Bugfix: ensure that there is a delimiter between the nodes before hashing them. Otherwise edges with nodes like 11 -> 0 and 1 -> 10 will have the same hash code
Bugfix: neverending cycle for empty lists
Bugfix: toString() will use weights (if given), but we want to be independent of them