Adding a simple string formatter. Also, fixing an off-by-one count on the benchmark loops