Update README.md
Fix compacting empty lines
Merge pull request #2 from asphxia/no-compact-empty-lines

Do not remove empty lines unless '--compact' is set.
Add support for custom main function