Made changes in the compareTo method in ExerciseItem.java