Visualize algorithm execution