input: 
  def reverse_double_linked_list(lst: DoubleLinkedList) -> None:
      """ Reverses the given double linked list in place.
      >>> lst = DoubleLinkedList()
      >>> lst.append(1)
      >>> lst.append(2)
      >>> lst.append(3)
      >>> reverse_double_linked_list(lst)
      >>> print_double_linked_list(lst)
      3 -> 2 -> 1 -> None
      """
      lst.reverse()
  
output:     current = lst.head
      lst.head = lst.tail
      lst.tail = current
      
      while current:
          next_node = current.next
          current.next = current.prev
          current.prev = next_node
          current = next_node