partition set problem full finished