Added some comments and fixed some PEP8 errors