Created by: constellation99
Added flake8 and ruff linters to check code according to PEP8 guidelines and fixed corresponding style issues.
Worked with @Bharath-Sathappan.