added function to color stderr and stdout