stack and paranthesisMatching updated