Stack implementation

Simple stack implementation.