Balanced Partition Problem DP