Initial implementation of Bubblesort