add solution for subset problem