Note: You can test patterns here: https://www.dcode.fr/game-of-life