valid bracket string problem
memoize valid brackets
house cleaning ...