create Node class