Implements bubble sort

http://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort
more test
optim : doesn't have to check the whole range each time
bubble sort work on Orderable