FirstNonRepeatedChar: Simpler impl.