Added splitArray.java