work on readme. added example code to test to ensure it compiles [skip ci]