class Node{ var data: T = nil var next: Node? = nil init(input: T){ data = input next = nil } }