Simple coding assignment to check if there are duplicate characters in a string.