add stack_implementation solution by python