implemented merge sort. Find is now using binary search and merge sort for better efficiency