Working code.  Drives in row or column order.