start python solution for stack