finished paren balance in assignment 1