Correct #rand to return nil when set is empty
Merge pull request #2 from dstrelau/fix-empty-rand

Correct #rand to return nil when set is empty