Added polyomino generation function.