allow multi-line values in terminal pretty-printer
implement group and ungroup operators for Tutorial D