Add a docstring to masspay.py