#20: _collect_paths() almost implemented.

Added new algorithms for matching the path by parameters.
#20: Small changes in test data to prevent matching elements by neighbours.