improve QuicksortExample