modify README.md and add main.c