switched to mt_rand
Everything uses mt_rand and is seeded

The seed is obviously 1234567