Replicated the logic to have quickly passing the new logic that not only convert but also compress the morse code.