else , check if sum can be obtained by any of the following ( a ) including the last element ( b ) excluding the last element
return isSubsetSum ( $ set , $ n - 1 , $ sum ) || isSubsetSum ( $ set , $ n - 1 , $ sum - $ set [ $ n - 1 ] ) ; }