Used semantic version.

I changed version format, now using semantic versioning.

This was motivated by the fact that I am working on a second version of the library, breaking compatibility with some functions of first version, and date as a version would not indicate it.