add MaxArithSeq.java