Update README.md

in "registering class member variable", the example is written with "bar.set_x(-4)"
it doesn't work, it should be : "bar:set_x(-4)"