changed main.cpp and README