Python based Morse decoder