Add scanning rows, cols, and diagnals