Final working MorseCode solution