added memchr function to string.c