Yesterday I saw a birthday puzzle. Congrats!!
Also this week I watched an episode of the TV show Bones where a dead body was found buried under a tree. To calculate the time of death, they counted the tree rings.
Tree rings form because trees grow slower during the winter and faster during the summer. Thus you can calculate the tree's age by counting the rings. Also you can see natural events like rainy or dry seasons.
Given an integer
n >= 1 as input, write a full program to output the tree age rings.
Because rings can change of shape use three diferent characters ('0', '*', '+') to show climate cycles.
*** *0* ***
+++++ +***+ +*0*+ +***+ +++++
0000000 0+++++0 0+***+0 0+*0*+0 0+***+0 0+++++0 0000000
Size of the tree is a square of sides
2*n - 1
Shortest code in bytes wins.