Simple grid drawing routine.