Added function to generate the 2*2 version of Figure 2.