solve tiling2