Documented and commented

Added docstrings to all functions and classes in addition to commenting
them
Changed filename of main program