Support for trigraphs and quadgraphs. Changed the result printout.