Implemeneted shell sort, still has a couple kinks.