Implement checking validity of the morse code or message