Update bench.py

Just added some idiomatic improvements, e.g. tuple unpacking in for loop, newer-style string formatting (compatible with Python 3.x).