If parent is an engineer , then current node will be an engineer if at add position and doctor if even position .
if ( pos % 2 ) : NEW_LINE INDENT return ' e ' NEW_LINE DEDENT else : NEW_LINE INDENT return ' d ' NEW_LINE DEDENT