solve `Exercise 2: Parentheses Balancing'

https://class.coursera.org/progfun-002/assignment/view?assignment_id=4
??? `Exercise 3: Counting Change' ???

https://class.coursera.org/progfun-002/assignment/view?assignment_id=4