updated README

- updated example
- call the right recursive function