Added printByCharFancy function