Add some comments and a private constructor. Didn't change the
implementation of quick sort.