Conway's Game Of Life for PHP >= 5.3