wrote readme.md
wrote README.md.
fixed bugs.