Add comments for functions.
Update README.md.