Create quick_sort&matrix scaling