using random(3) instead of rand(3) and seeding with /dev/random instead of time
Merge pull request #1 from jpouellet/master

replaces rand() with random() and seeds with /dev/random instead of time