add a override method for NSArray->sample: to return an array of random elements of given number count