create LetterChain class with init, add, is_valid methods + tests
implement helper function is_valid_gap + unittests