Modified compareTo() in Version

Using Maven to compare versions.