Added linear search algorithm