Sdt chapter6

Pretty straightforward way to find the max length, but it's also one of the more efficient ones too.