Ran pep8 and fixed errors