Implemented memchr