Vigenére cipher

I wrote it in applescript.