Added line-printing and letter-detection