Returns a random element from a passed indexed and associative array
Fix my previous proposal
Merge pull request #144 from aRn0D/randomElement

randomElement enhancement