add dp find maximal square area in a matrix