updated main.cpp
updated README.md