<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def makedirs(path):
 """Creates the directory tree if non existing."""

    path = Path(path)

    if not path.exists():
        path.mkdir(parents=True)