public static void main(String[] args)
	{
		System.out.println("creaing ObjectCache with size 5");
		ObjectCache oc = new ObjectCache(5);
		try
		{
			String k = "";
			String v = "";
			for(int i = 0; i < 16; i++)
			{
				if(i == 3|| i == 4 || i == 8 || i == 9)
				{
					k = "key" + Pad.pad("" + (i - 2), "0", -3);
					v = "val" + Pad.pad("" + i, "#", -3);
					System.out.print("now using an contained key:" + k + ", " + "value:" + v);
					System.out.print(" watch for hashmarks");
				}
				else
				{
					k = "key" + Pad.pad("" + i, "0", -3);
					v = "val" + Pad.pad("" + i, "0", -3);
					System.out.print("putting key:" + k + ", " + "value:" + v);
				}
				oc.putKeyValuePair(k, v);
				System.out.print("\ncache contents: ");
				Object[][] cont = oc.getAllKeyValuePairs();
				for(int j = 0; j < cont.length; j++)
					System.out.print(" " + cont[j][0] + "=" + cont[j][1] + "  ");
				System.out.println("");
				Thread.sleep(2000);
			}
		}
		catch(Exception e)
		{
			System.err.println("exception: " + e);
			e.printStackTrace();
		}
	}