Add reservoir sampling

[Reservoir sampling](https://en.wikipedia.org/wiki/Reservoir_sampling) is O(n) algorithm for randomly choosing a sample of K elements from array.