Add Shell sort function, and function writing sorted numbers to a given
file.