// Encrypt.java
// [put your comment block here]

// This enables us to use file input and output
import java.io.*;

public class Encrypt
{
    // Declare any named constants here

    // ------- You must implement this method --------------- //
    // substitute: takes in a character and a substitution array
    //             and returns a new character,
    //             according to the substitution array.
    //             Spaces and punctuation (non-alpha characters)
    //             are unchanged.
    // input: 1) a plaintext character
    //        2) a substitution array of length 26.  The first
    //           character indicates the replacement for 'a',
    //           the second one for 'b', and so on.
    // output: the modified character
    public static char substitute(char c, char[] subst)
    {
    }

    // ------- Add any other "helping" methods here --------- //


    
    // ------- You must implement this method --------------- //
    // Don't forget to add comments here! (and remove this one)
    public static void main(String[] args)
    {
    }

}
