Created what could do the first half of the encryption.

I have not tried this yet, but I need to, however, it seems that it may work, but I'm not sure if it will ignore the previous lines, or read the same line over and over again.