def mkdir(directory):
    """
    Created a new directory. "-p" flag is used so the command generates the same result regardless whether the directory exists or not. 
    
    :type directory: string
    :param directory: directory to be created.
    """
    return ["mkdir -p " + directory]