Python algorithm visualizer