Fixed typos and PEP-8 compliance.