Use linked lists instead of arrays for storing paths
Move has_path procedure into new file list_helpers
Simplify has_path by using function pointers and removing duplicate code.
has_path: Add a new test to find a strict parent
Add --mask (-M) option