Assignment 1, Exercise 2 Parentheses Balancing