Added Solution to check a string for duplicate words and return True if it does