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)"
Merge pull request #42 from GuilhemBernard/patch-1

Update README.md