Re-written solution ...

Old solution was verbose
Merge pull request #843 from abhinavc/master

Re-written 2/sph/guz9z