Program to solve matching parenthesis.