Create insertinterval.java