D: implemented getLineMorse method, and added toUpper during morse conversion