[API] Added `index` parameter into the example in Readme

Closes #21