Updates on Pseudo-code and docstring.