Implemented memcmp