Updated readme and example.cpp