use random() instead of drand48_r

drand48_r cannot be used in OS X, and also it uses linear congruential
generators.
add random

to add srandom to set seed
merge master
to set srandom for OSX

To set srandom to use seed for OS X
use __APPLE__ instead of OSX

use __APPLE__ for predefined os detection  OSX.
add semicoron

add semicoron
Merge pull request #101 from i-kiwamu/use-random

use random() instead of drand48_r