Python Visualize Program Execution