Printing method added to Grammar class for Relation table.