a test program for using interval tree to merge rectagles. Will make the interval tree and the merging part of this program into classes