Fixed line lengths in code to be pep8 compliant