improving the clean function and making more modular
refactored clean() function into smaller ones
no changes since last
Merge branch 'master' of https://github.com/domspad/hackerrank