modify T-shirt.c to be a bit narrower by adding a variable 'n'