Update chaine.c

Changed structure of the strstr, made it tinier.