Fixed intended seg fault in bubblesort.