Seamless pattern with squares and triangles n2