Input data validation added;
README.md updated;