Adds new functions, fixes a memoization error

New functions are `paren` and `parens`.