bubble sort using ruby related