Update TextTwoWritableComparable.java

Add compareTo() method function