How To Program A Stack In Python