added random number generation

just partly, no tests yet and no Fortran yet