Refactored and finished test for deeply nested directories. Finished the initial sketch of the directory comparator - it works now.