added docstrings
merged
Merge pull request #4 from amakhnach/master

added docstrings