rule application is correct. borders remain =0. seeding random. this is a simple working version with hardcoded parameters