Added Exception for HTTP 429

Also, made some PEP8 changes.