Fixed few PEP8 errors in gates.py
Fixed few PEP8 errors
PEP8 Fix