Delete we only need to save 3 values n-1,m; n,m-1; n-1,m-