minor practice with Quick sort and Newton roots