Added decoder function to MorseTree

It's fairly well documented, some small polishing to do but it works just fine