2D array / "apple" with virus
The apple has a virus, and the infection is spreading.
The apple is a two-dimensional array, containing strings "V" (virus) and " " (uninfected parts). For each hour, the infection spreads one space up, down, left and right.
Input: 2D array apple and number n (n >= 0).
Output: 2D array showing the apple after n hours.