check if a string has no duplicate chars

added some ways to determine if a string has all unique characters