Fixed a few syntax errors trying to make everything PEP8