Java Generate Random Integer In Python