added a check for user entering only numbers greater than 0
Merge pull request #15 from rishijain/master

added a check for user entering only numbers greater than 0