EAI Technologies interview question

create a class to represent a node in a node tree (Interview 1)