added random generator & test
implement montecarlo