Added testing functions and docstrings in excercise.
Removed ipdb.