thanks, I also added a very informative docstring

thanks for the stats program update.  I added a docstring.  accept my addition and then I'll accept yours