fixed quick_select to take in non-unique numbers