Ported functions to helpers.py, added unit tests for them, updated the notebook