Constructs a list of length one with the first element containing the given value
val
LinkedList<int> list = LinkedList<int>(3); //list now contains one element, 3