Update LongestSequence.java