Corrected extra if issue and checked color before sending out of print_bmp_in_ascii function