codeeval.com Morse Code commit. added test cases for later optimization.