Templetized linked list