Worked on existence of subset sum dp solution