Domino tilings and two-by-two squares