Used autopep8 to correct all bad code style