B B Your task is to draw a box fractal of degree n.
A fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all scales. The object need not exhibit exactly the same structure at all scales, but the same "type" of structures must appear on all scales. A box fractal is defined as below : A box fractal of degree 1 is simply X A box fractal of degree 2 is X X X X X If using B(n - 1) to represent the box fractal of degree n - 1, then a box fractal of degree n is defined recursively as following B(n - 1) B(n - 1) B(n - 1) B(n - 1) B(n - 1) Your task is to draw a box fractal of degree n.
