 ]
 
 var message = "abe lincoln"
-var shift = 5
-
-var newKey = (26+shift)%26
+var shift = 35
+
+var newKey = shift%26
 var newAlpha = letterLists[newKey].alphabet
 //need to substitute 'newKey' in 'newAlpha' to find the 'newKey'th
 


print(origmessage)



    
//}
//)



//if test.0.loc == Int(shift) {
//    print("worked")
//}


//print(shift)
//var secretMessage = ""
//var newKey = test.0
//print(newKey)

//var foo: (x: Int) = 42
//println(foo.x)





//var a = 0
//var b = 1
//var c = 2
//var d = 3

//var message = "abc is cba"
//var shift = 2
//var message2:Int=()

//for i in message.characters {
//   switch i {
//    case "a": message2 = "a"
//    default: print("")
//    }
//    print(message2)
//}


import Foundation


var letterLists = [
    (loc: 0, alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ"),
