Investigating strncmp