Fix off-by-one in non-default values of index's 2nd and 3rd arguments.
Merge pull request #91 from chipaca/list_index

Fix off-by-one in non-default values of index's 2nd and 3rd arguments.