game of life with mdarray