code jam reverse str