added binary search and mergesort algorithms