create bubble sort and tests