Selection Sort Algorithm Animation: Pausing
- Update the special positions as the algorithm progresses
- Pause the animation whenever something interesting happens
- Pause should be proportional to the number of steps that are being executed
- In this case, pause one unit for each visited array element
- Augment minimumPosition and sort accordingly