Uses and manually implements strcmp().