Complex sentence: Black is used to mark the edges of the program so when encountered the Codel Chooser is flipped and if the current codel is still black then the Direction Pointer is turned clockwise.
Split into simpler sentences: Black is used to mark the edges of the program, so when encountered the Codel Chooser is flipped. If the current codel is still black, then the Direction Pointer is turned clockwise.