Create longest-consecutive.java