New proper parenthetics

I updated the check_parens function to check for truly broken parentheses (invalid) too.  Fixed invalid1 test and added invalid2 test.
-Perry