Understanding classes, use of __init__, and docstrings(use of __doc__