Complete exercises 16.3.2-16.3.4 and the Challenge question.
Before you start working, download the dir.rkt code, put it in your working directory, and add
(require "dir.rkt") to the top of your file.
In the second part of exercise 16.3.3, the size of a directory is the sum of the sizes of its contents, the length of its files list, and the length of its dirs list. For example, in HTDP Figure 44, the size of the TS directory is 218, and the size of the Code directory is 12.
The Challenge question asks you to "Generalize the function [find] to return
a list of paths if the file name occurs more than once. Each path should lead
to a different occurrence, and there should be a path for each occurrence."
The find function you hand in should have type signature
dir Symbol → (list-of path), where a path is a list of symbols
as specified. It should return
empty if the file name does not occur,
and a list containing a single path if the file name occurs only once.
filesystem.rkt, containing your implementations of the functions described in these exercises. Only turn in the final version of each function.