String Reverse Using Stack In Python