Create averageWithMethods.java