Alternating Characters

The alternating characters challenge from Hacker Rank