Implement a naive O(2^n) solution for solving balanced partition set problem, it can be improved with DP to O(k * n^2).