Added description of subroutine in the code, minor changes to intersectCollect
Changes 20/11
Fixed merge conflicts
Fixed merge