add directory tree example and license