Adds Array#sample for the basic use case (single random element)

Closes #332