Update linear_search.c

Corrected complexity.