Write pseudo code for an iterator that implements a version of the sort -merge algorithm where the result of the final merge is pipelined to its consumers. Your pseudo code must define the standard iterator functions open(), next(), and close(). Show what state information the iterator must maintain between calls.