Update README to include documentation of stack.py
Add stack.py and test file to the repository