     }
    
     var alphabetLength: Int {
-        return alphabetString.characters.count
+        return alphabetString.count
     }
 
     public func distanceTo(other: String) -> Double {


func convertCharacterToInt(_ character: Character) -> Int {
    
    for (index, char) in alphabetString.characters.enumerated() {
        if char == character {
            return index
        }


func convertIntToCharacter(_ int: Int) -> Character {
    
    for (index, char) in alphabetString.enumerated() {
        if index == int {
            return char
        }
