Init for sort

Almost completed version of Sorting Arrays algorithm.