added bottom up merge sort implementation