Rewrite get_rand method - less LOC, better alhorithm, names.
Rewrite get_rand method - less LOC, better alhorithm, names.

Complexity is now O(N), where N is number of array elements.

esse/Guided-randomness