determined if a string contained all unique characters