Adding a recursive backtracking bubble sort