Implement a subroutine to print a byte-string of a given length