Add some tests to cover exclude case.
Implemented subset_sum_dynamic_programming/java.
Added gradle support.