Add a new method named bubble sort.