Selecting num random elements from an array