Defined Actions function

Each action is a dictionary with row, column