Now the Nodelist structure should work with more general input. And the test works as well.. The only problem left seems to be the ability to calculate the distances between the features.. This is not implement the right way at the moment
A naive implementation of a more general algorithm seems to be functioning.. I have some problems testing it properly, so currently I cannot figure out if there is some logical error. However, since it can be written much simpler, I will try to simplify the code before I spend to much time on testing.. Maybe I will find some logical errors in this proces