java search and sort algorithm graphic visualizer