A dynamical system approach to polyominoes generation