Create LastOccurrence.java