added rand.hs and benchmark dir bm/