Parses list

        :param lst: list of elements
        :return: LinkedList: Nodes from list

def from_list(lst):
        """Parses list

        :param lst: list of elements
        :return: LinkedList: Nodes from list
        """
        if not lst:
            return None

        head = Node(lst[0], None)

        if len(lst) == 1:
            return head

        head.next_node = LinkedList.from_list(lst[1:])
        return head