import java.io.*;
public class TestDictionary
{
	public static void main(String [] args)	
	{
		Dictionary d = new Dictionary(5001);

		Record temp = new Record("hello");
		d.insert(temp);
		temp = new Record("how");
		d.insert(temp);

		if(d.search("hello") == null)
			System.out.println("Not found");
		else	
			System.out.println("Found");

		if(d.search("how") == null)
			System.out.println("Not found");
		else	
			System.out.println("Found");

		if(d.search("are") == null)
			System.out.println("Not found");
		else	
			System.out.println("Found");

		d.print();
	}
}	
