Refactoring the code of check_versions.py
Merge pull request #311 from askeing/check_version

Refactoring the code of check_versions.py