A simple version of the Game of Life
Input format
L C S L - (rows) | C - (cols) | S - (steps) are Integers >= 1
row_1
row_2 Each row is a sequence with C characters
…………… Characters can be '#' or '.'
row_L
Output Format
row_1
row_2
……………
row_L
Sample Input
14 17 16
.................
.................
.................
.................
.................
.................
........#........
.......###.......
.......#.#.......
........#........
.................
.................
.................
.................
First output example
Transformação: 1
###
# #
# #
#
-----------------