Setup of bubble sort.