Search algorithm interface
Implemented linear search