add comment show algorithms category
interval is made more generic
shell sort intervals generate with function.