[ADD] Get Array Random element

A macro like this one, not supposed to be fail-safe, also this one has a mistate, it should save random int as local int variable and use it as a source for outputs.