input: Write a python function to convert a linked list to a Python list.
  assert convert_linkedlist_to_list(linked_list) == []
  linked_list.prepend(1)
  assert convert_linkedlist_to_list(linked_list) == [1]
  linked_list.append(2)
  assert convert_linkedlist_to_list(linked_list) == [1, 2]
  linked_list.prepend(3)
  assert convert_linkedlist_to_list(linked_list) == [3, 1, 2]
output: class ListNode:
      def __init__(self, value=0, next=None):
          self.value = value
          self.next = next
  
  class LinkedList:
      def __init__(self):
          self.head = None
  
      def append(self, value):
          if not self.head:
              self.head = ListNode(value)
          else:
              current = self.head
              while current.next:
                  current = current.next
              current.next = ListNode(value)
  
      def prepend(self, value):
          new_head = ListNode(value, self.head)
          self.head = new_head
  
  def convert_linkedlist_to_list(linked_list):
      result = []
      current = linked_list.head
      while current:
          result.append(current.value)
          current = current.next
      return result