treeUtil: fixed verifyTreeWithNext. Now it accepts a list of next values
in the order of BFS traversal of the input tree to verify the next value
of each node