Updated README. Fixed bugs in main().