Added missing return to the double function
Merge pull request #9 from rahult/master

Added missing return to the double functoin