My first version if the qSort