CNF/DNF are built in ZDD with almost zero cost

The number of undirected paths which connects (0,0) and (21,21) walking on integer nodes (i, j) ( 0=< i, j =<21 ).