Pep8

code now conforms to pep8 standards