added bubble sort for length smaller than or equal to 4
bubble sort algorithm