bubble sort fully functional and tested.