Fix srand init
Merge pull request #5 from JasonDictos/master

Fix srand init