update README & to compile test.cpp correctly