Implementation of Functors

One more thing, once you start organizing your code into multiple files, you will save yourself a lot of hassle by using dune to build the project instead of manually typing in ocamlc commands.