changed some functions in main file for modularity, working on overlaps function in ZContours