From Tetris to polyominoes generation