create a game of life by using MATLAB to prectice some basic function