printing simple expressions