maxseq moved to new class
dp solution for Max Value Contigious Sub Seq