withGen

inline fun withGen(width: Int, height: Int, gen: (x: Int, y: Int) -> Char): CharArray2