Defined bubble sort
Added test for bubble sort