The following program, or a skeleton of one, needs to complete relational algebra between two documents to output into a file. I'm currently trying to accomplish an intersect function. Later this is to become a gui, for now I need to figure out this programing problem.