added benchmark.py for 2-flows