Compile: gcc -o Purple Purple.c

---------------------------------------------------

Usage: Purple speed init_S init_L init_M init_R flag infile

where speed == fast, medium, slow switches, e.g., LMR (no space, no repeats)
      init_S == initial position for sixes switch (0 thru 24)
      init_L == initial position for L switch (0 thru 24)
      init_M == initial position for M switch (0 thru 24)
      init_R == initial position for R switch (0 thru 24)
      flag == 0 to encrypt, 1 to decrypt
      infile == input file name

For example: Purple LMR 21 11 3 12 0 plain.txt

Note: input file must contain only upper case A thru Z

----------------------------------------------------

The file ciphertext.txt contains the output generated by:

    Purple LMR 12 2 23 8 0 plaintext.txt

To decrypt, use

    Purple LMR 12 2 23 8 1 ciphertext.txt

As noted above, the files cannot contain anything but 
uppercase A thru Z. Be careful not to insert a newline
at the end of the file.