Added basic stack implementation