created arrayTwo.java for Array-2 problems
solved the first 9 problems of Array-2