fixed wrong sample code in README which caused issue #2
released version 0.3.1