subset_sum: improve coding style and add some comments