fix returned value for length <= 1
add specs for sum
add spec for max_2_sum
add spec for #sum_to_n?
fix implementation of #sum_to_n? by using Array.permutation