Refactored to have a map for each part of morse alphabet.