added problem description to readme
refactored number validation algorithm