[Hacker Rank] Sept 20/20 - SherlockPuzzle
[Hacker Rank] Sept 20/20 - SherlockPuzzle - improvements