Implementation of the quickselect algorithm using Python