A heuristic matching algorithm and its application to 2D Ising spin glasses on square and triangular latticesPostrážiť