generics stack implementation
Iterators