PEP8 Fixes,Python3 Compatibility

- PEP8 Fixes.
- Python3 Compatibility.
- Logic is not touched.
- Add DocString on cod.py
- Remove unneeded Empty Spaces *in-between*.

:octopus: