Added decoder function to MorseTree