Fetched visualization code from quicksort branch.
Merge with master, cleaned up visualization code (abstraction, code reuse).