Add quick sort demo code from pointer book.