Fixed issue of nor being random by not seeding the time in the myrandom function