code for Problem#16 refactored.
Merge branch 'master' of https://github.com/KuldeepSinh/99Problems