function containsRepeatingLetter(str) {
var len = str.length;
var p = 0
var q = 1
while (q < len) {
if (str.charAt(p) != str.charAt(q)) {
p++
q++
} else if ((str.charCodeAt(p) > 'a'.charCodeAt(0) && str.charCodeAt(p) < 'z'.charCodeAt(0)) || (str.charCodeAt(p) > 'A'.charCodeAt(0) && str.charCodeAt(p) < 'Z'.charCodeAt(0))) {
return true
} else {
p++
q++
}
}
return false
}