horribly buggy shell sort