some excersices with compareTo()