added c and php linear_searrch