refactored BinarySearch
refactored LinearSearch
refactored SelectionSearch