print path of subset sum