How to run multiple functions synchronous in Jupyter Notebook