generation of random-looking tile patterns