apple pie's submission of String Reverse | CodeChef