How To Get Top Element Of Stack In Python