Added comments to code

I couldn’t figure out how to make the multiline comments in pycharm,
because it would keep reformatting them to docstrings, so I was forced
to use multiple single-line comments. It also wouldn’t put the comments
in the middle of the docstrings so I had to put all of my comments
outside of the different page parts.