I need help with programming a "Game of Life" in MATLAB by tomorrow 21:00 CET. It should be very easy for the experienced programmer as this is the first task of our course!
Information about task below:
In this project, you will implement a game that is a cellular automation with a checkerboard grid. The game is called Game of Life and was invented by John Conway in 1970. Given a starting line-up of a colony of cells in a two-dimensional world and rules for how cells are born and die, you should simulate how the colony develops.
A cellular automaton is a model in the form of a grid of cells, where the cells have different states. The condition of a cell changes according to a number of life rules that depend on the conditions of the nearby cells. Biological patterns can be understood through cellular automation, such as how the spots on a leopard or the stripes on a zebrafish grow over time. A study in the journal Nature  shows, using numerical calculations compared with observations, how the pearl's back pattern - a labyrinth-like green and black pattern - is produced by cellular automation with a hexagon-like structure.
Create a two-dimensional world of cells. The two-dimensional world of cells can be represented by a matrix of zeros and ones. The elements of the matrix represent places in the colony. An element with the value zero (0) represents no (or a dead) cell and an element with the value one (1) represents a living cell.
Tip: You can use the Matlab command spy () to draw the results on the screen, see further help spy, or you can use the plotroutine function which can be downloaded from the website. In the two-dimensional world, each cell has room for eight neighbors. Neighbors can be found on the directly adjacent places horizontally, vertically or diagonally. How a cell changes to the next generation is given by the following rules of life for the cells:
• A cell that has fewer than two neighbors dies of loneliness.
• A cell that has two or three neighbors survives to the next generation.
• A cell that has more than three neighbors dies of overpopulation and starvation.
• In an empty space where there are exactly three neighbors, a new cell is born for the next generation.
• The cells are born and live only in the simulated world, not outside it.