Implemented the function that ADD NEW DIRECTORY.