added MaxDigit.class and MaxDigit.java