creating pairs of colored squares