/**
 * A driver for an instant messaging system.
 *
 * @author  Prof. David Bernstein
 * @version 2.0
 */
public class Driver
{
    /**
     * The entry point of the application
     *
     * @param args   The command line arguments
     */
    public static void main(String[] args)
    {
	ExpandedChirp  english;
	Chirp          message;
	ChirpRecorder  recorder;


	recorder = new ChirpRecorder(10);

	message = new Chirp("FWIW I think he's arrogant. G2G");
	recorder.addChirp(message);

	english = new ExpandedChirp("SLAP.  TTYL");
	recorder.addChirp(english);

	System.out.println("\n\n");
	System.out.println("Showing 0 (a Chirp):\n");
	recorder.showChirp(0);
	


	System.out.println("\n\n");
	System.out.println("\nShowing 1 (an ExpandedChirp):\n");
	recorder.showChirp(1);
	
    }
}
