alternating characters solution