implemented rot13 character switching with escaping