Add stack file and tests.
Merge pull request #3 from tonycchung/stack

Stack