Update README.md

Adding prerequisites.
Added shebang and encoding
Added Python3 support
Flags added and improved
Small optimizations, remove same items in list
Merge pull request #4 from sepalani/master

Small code optimizations