Test driven "Game of life" in PHP