Add documentation to bubblesort algorithm