Code:
char array[9][10][20] =
{
{" ### "," "," ### "," ### "," "," ### "," ### "," ### "," ### "," ### "},
{"# #"," #"," #"," #","# #","# ","# "," #","# #","# #"},
{"# #"," #"," #"," #","# #","# ","# "," #","# #","# #"},
{"# #"," #"," #"," #","# #","# ","# "," #","# #","# #"},
{" "," "," ### "," ### "," ### "," ### "," ### "," "," ### "," ### "},
{"# #"," #","# "," #"," #"," #","# #"," #","# #"," #"},
{"# #"," #","# "," #"," #"," #","# #"," #","# #"," #"},
{"# #"," #","# "," #"," #"," #","# #"," #","# #"," #"},
{" ### "," "," ### "," ### "," "," ### "," ### "," "," ### "," ### "},
};
The algorithm is insanely simple, and the array can be modified to suit your assignment.