Updated README.
Added docstring.