Add some comments in README.md
Fix bug - add missing pthread
Add comments of pthread.