Make changes to meet Python PEP8 standards of syntanx