Create LinkedList object constructor function