Added bubbleSort algorithm, but its still having problems updating the visualizer.