implement 0-based tuple indexing; fixes #82
update documentation for #82