more README fixes. added readme examples in cpp file