withGen

inline fun withGen(width: Int, height: Int, gen: (x: Int, y: Int) -> Long): LongArray2