Improved implementation of fix_termpos.pl, added comments.
Optimized seek_sub_string
Optimized seekn_parenthesis_right
Added verbose message to know where we are
Optimized count_parenthesis_right
Optimized count_parenthesis_right and count_parenthesis_left by mean of count_sub_string.
I see is better to fix also the comments. Modified test ex27