Made corrections to conform to PEP8 sytle guidelines.