implentation of Bubble sort

Implementation of bubble sort http://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort