Added stack, added templated versions of stack and queue.