added printing 2d char arrays