code: def makePublicDir(dirName):
      
      if not os.path.exists(dirName):
          os.mkdir(dirName)
          os.chmod(dirName, 0o777)
      return dirName
docs: Makes a given subdirectory if it doesn't already exist, making sure it is public.