Convert inputted text to morse code