Update SmallestSequence.java