Added Parenthesis class that checks pairing of parenthesis - tested