recursive mkdir

adds functionality to recursively create directories and return a path list of the directories that were created