exercise 15-3: let user specify characters to be used as border and corner