given a m * n matrix, find the number of ways to divide it into 4 rectangles. the sum of each reactangle is same
4 rectangles should not overlap with each other. and they together should cover all matrix.
follow up: what if they don't need to cover the whole matrix