goal(0,[],R) * out(R) * delete // The goal is to place the dominoes onto the given board.