Implemented binary search and selection sort