http://computersciencearticle.in/wp-content/uploads/2012/03/Output-of-Shell-sort-algorithm-to-sort-array-element.png