Tiling Matching Problem.