Update src/Encode.java