Update ArrayChallenge1.java

Did one of the methods as a sample