Python script to translate strings to morse code