Add generics to arrayDoubleLinkedList.