@SuppressWarnings("rawtypes")
	public static void printList(AbstractList list, int depth)
    {
        final Iterator i = list.iterator();
        Object o = null;
        for (int k = 0; k < depth; k++)
            System.out.print("  ");
        System.out.println("List: ");
        while (i.hasNext() && (o = i.next()) != null)
        {
            for (int k = 0; k < depth; k++)
                System.out.print("  ");
            System.out.print(" +");
            print(o, depth);
        }
    }