finished hasSubsetWithSumZero and printContinuousSequences