Implementation of the Shell Sort algorithm, as given in CSC 232 by Dr. Richard Martin.