test file added and some edits on stack.py