main srand call.
Merge pull request #31 from jesseniemisto/master

main srand call.