add single quotes in Prolog