Using A Stack In Python