Implemented Comparable interface in Event and added tests to EventTest
to test that it works correctly.