Create OR, AND and XOR gates out of dominoes.