modified bubbleSort.c