Header update
Fixes indentation
Replaces random number seeding code