Added a example for WritableComparable interface.