[java] How to check if number is divisible by a certain number?