Added recursion to the mkdir() function. 

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