Implemented solution for CodeEval's Morse Code challenge
https://www.codeeval.com/open_challenges/116/