Change variable name from `str`.

`str` is a built-in function and using it as a variable name in the function `mask_string` overrides that behaviour.
Merge pull request #1 from sukritkalra/master

Change variable name from `str`.