added a few more types
Added error handling for stack interface.
added interfaces for Associative and Reversible, tested, but didn't retest previous messages