Fixed PEP8 style errors using autopep8.

Fixed all style errors that can be automatically fixed using autopep8.
Naturally, all tests pass correctly.