Given a string implement a function which returns true
if string contains at least one repeated character, otherwise
it returns false
.
hasRepeatedCharacter("abc") // false"
hasRepeatedCharacter("aabc") // true
hasRepeatedCharacter("aabcc") // true