An gameoflife sample code which written in C Plus Plus