create bubble sort definitions