Added feature

Feature: returns the length of the longest chain of characters.
Merge