Problem 12 - AlternatingSplit()

Signed-off-by: Sundar Jayakumar Dev <sundarjdev@gmail.com>