Refining solution.
Removing escape characters from results.
Renaming variable to make code easier to follow.
Removing escape characters from results.