Added recursion to the mkdir() function. Allows for nesting directories and better organization