solve the Pascal triangle problem + add docstring
add helper defs for parens balancing