Update Array.java

methods for inserting and modifying a batch of values at a time.