Example of Linear and Binary Search with Apples