Added flake8 compliance and bug in results
Added few more messages and fixed a bug