Added beginnings of morse code translate function, did some refactoring, and added some functions to handle gaps