Add a Random.element function to return a random element from an array
Seemingly random patterns inspired by http://warmplace.ru/soft/pixivisor/