fixed capitalizing bug #35

Fixes capitalized as follows:
- all lowercase --> all lowercase with replacement
- all upper --> all upper with replacement
- mixed format --> prints original word, no replacement
Why did you remove "was_lower"?