Creation of the printBox function

Refer to issue #42