Create TOANDFRO.cpp

SPOJ 400 - To And Fro
(Easy, Read problem carefully, Slightly Tricky Ad-Hoc)