Picks an item from an input array randomly based on weights list. Items and weights array must agree.
array of items to has one element picked.
weights for each element of items array.
returns one element of items.
Picks an item from an input array randomly based on weights list. Items and weights array must agree.