a function that iterates over all length d paths that start

with a given node, an extra parameter ensures possibility of iterating
over self loops once
a (seemingly) working code to add long sequences to checkable e;ements
multiple changes:

1. a bug in delapath
2. another way to find all paths of a given length compatible with the
given path
3. an incremental check of a suitability of a path