Add OptimizedGnomeSort