Code for creating intersection images implemented (and not teseted).