minor changes in samples
add lastindexof() for arraylist and stack

fix test name in stack tests
add collection Deque

- add tests for deque

- minor changes