Deal

created a Deal function that Write a method deal() that removes all the
elements with odd-numbered indices from a DLList and
return a DLList containing these elements. For example, if l1, contains
the elements a, b, c, d, e, f ,
then after calling l1.deal(), l1 should contain a, c, e and a list
containing b, d, f should be returned.