Added initial comparison and basic tests.

Versions can now be compared with each other!