added python 3 support.  benchmark() runs

Hopefully this is cool.  Not sure how you need to update the travis yaml.
`format` works on Python 2 as well as Python 3, so could you switch the python 2 version too, instead of adding the ugly toggle?