Modify the way of letter case transformations(source file "case.c"),

Modify the way of letter case transformations(source file "case.c"),Making it more efficient.