add java version: InsertString.java