Add a mean to get an index, allowing iterations of the queue.
Add bound checks. Add test for bound checks.
Update docs to mention panics for bad accesses.
Merge pull request #1 from aybabtme/get-index

Add a mean to get an index, allowing iterations of the queue.