Fixed errors in PEP8 style.

Fixed some errors in python 3.