Implements smoothsort, adds comments

Completely implements smoothsort, as well as benchmarking