Integer difference solution JAVA.