LinkedList(std::initializer_list<T> list)
Constructs a new list with the elements of the given initializer list
Parameter
list - This list to get the elements from
Example
LinkedList<int> list = LinkedList<int>({3, 4, 5, 6});
//list now contains the elements 3, 4, 5, and 6