Finished stack implementation

Finished stack implementation