implementSort() function added
implementing bubble sort - half way