Parenthesize note heads using a Scheme function

This scheme code puts parentheses around note heads and recalculates the grob size and adjusts the stem position.