updated javadoc
implemented SubsetProblem