Update README
clean up the code in adapt to more strict C++ standard