Add the average time at end of benchmark.

Also, bubble-sort was actually swap-sort - my bad :(