Example: Visualization of sorting algorithm