def prepend(head, data):
    new_node = {"data": data, "next": head}
    return new_node

head = prepend(head, 5)
display(head)
