Implement Conway's Game of Life on the 0/1 array Z and return the board after steps iterations. Use the standard 8-neighbour birth/survival rules; cells on the outer border stay 0.
Z
steps
solve(...)