implement stack
refactor pop method for empty stack
pull from origin master
Merge pull request #9 from reedns/stack

Stack