selects next most preferred from mpref or wpref

return(pref[person][index]);