Compare two version numbers version1 and version2.
If version1 > version2 return1, if version1 < version2 return -1, otherwise return0.
You may assume thattheversion strings are non-empty andcontain only digits andthe . character.
The . characterdoesnot represent a decimal point andis used to separate number sequences.
For instance, 2.5isnot"two and a half"or"half way to version three", itisthefifthsecond-level
revision ofthesecondfirst-level revision.
Here is an example ofversion numbers ordering:
0.1 < 1.1 < 1.2 < 13.37