Recursive Linear Search Function In C