Implimented a simple stack in python