This is deceptively hard, since I’m trying to do it with any number of arrays and I’m also trying to avoid recursive.