implementing bubble sort
implementing insert and merge sort