flash on 2011-5-18

Slightly modified to show step by step work.
Originela code on http://www.emanueleferonato.com/2011/05/17/using-cellular-automata-to-generate-random-land-and-water-maps-with-flash/