Update Sequence.java

reorganized