Documentation added.
Added recursion and multiple threads for sorting.