A Linear Parsing Algorithm For Parenthesis Terms