add implementation for bubble_sort in rust