Changed the Stack interface to extend iterable, such that stack implementations need to provide iterators.
Added a test to check that any stack iterators work.
Added iterators to the ArrayStack and ListStack implementations.