[PacMin-11] Flip edges on overlap graph.

Closes #11.