my solution
Merge pull request #1 from Neminath/master

my solution