Added solution to paren validation