An AS3 pattern making thingy