add solution for subset ii