Added operator[] to TreeNode (for path access);
Added cosnt qualifiers to few methods;