Create writeSequence.java