An exercise from the Rust and WebAssembly book.
Wikipedia has a great explanation of this cellular automaton game.
Click anywhere in the grid to: Toggle Cell Insert Glider Insert Lightweight Spaceship Insert Middleweight Spaceship Insert Heavyweight Spaceship