Displaying average runtime for bubble sort