max sequence added
before merging with master
Merge branch 'master' into dev-bluebat
Dynamic programming added