Brute force benchmark and naive pruning for diamond-free-graphs.

"const int" here and below