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
the last check at line 56 doesn't need all 3 statements in the conditional because you've already failed the first two