Java Random Int Between Min And Max Of A Function