Simple implementation of game of life based on multiarray