Random sampling from weighted list.