created to_lower, to_upper functions,and modified code to tokenize semicolons