withGen

inline fun withGen(width: Int, height: Int, gen: (x: Int, y: Int) -> Boolean): BooleanArray2