Added a solution for the MorseCode problem