How To Implement Stacks In Python