Implement SearchAlgorithm with inheriting classes BinarySearch and LinearSearch