init commit

Finds length of telegram
MSG length fix